import { Col } from "antd";

const CardTag = ({ name, showFlag, click }) => {
    return (
        <Col className='text-center' span={12} onClick={click}>
            <div className={`leading-8 ${showFlag ? 'border-b-3' : 'border-b-0'} border-blue-500 border-solid`}>
                <h6>{name}</h6>
            </div>
        </Col>
    );
};

export default CardTag;